<html>
<head>
<<<<<<< HEAD
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> 
</head>
<body>

<input type="file">
<script type="text/javascript">
    $(document).ready(function() {
    $("input").change(function(e) {

    for (var i = 0; i < e.originalEvent.srcElement.files.length; i++) {
        var file = e.originalEvent.srcElement.files[i];

        var img = document.createElement("img");
        var reader = new FileReader();
        reader.onloadend = function() {
            img.src = reader.result;
        }
        reader.readAsDataURL(file);
        $("input").after(img);
    }
});
    });
</script>
</body>
</html>
=======
</head>
<body>

<div id="dialog-form" title="创建新用户">
  <form>
  <fieldset>
      <div>
          <textarea class="text ui-widget-content ui-corner-all" rows="50" cols="100">
          </textarea>
      </div>
      <div>
          <input type="button" id="btn_confirm" value="提交">
          <input type="button" id="btn_cancel" value="取消">
      </div>
  </fieldset>
  </form>
</div>
</body>
~
</html>
>>>>>>> bfc96986c2a070f404dbf87d51e0af51fa488363
